package com.ytjj.qmyx.admin.model;

import java.io.Serializable;
import java.util.Date;

public class Menu implements Serializable {
    /**
     * id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 菜单code
     *
     * @mbg.generated
     */
    private String menuCode;

    /**
     * 菜单名称
     *
     * @mbg.generated
     */
    private String menuName;

    /**
     * 类型（1菜单、2按钮..）
     *
     * @mbg.generated
     */
    private Byte type;

    /**
     * 菜单级别
     *
     * @mbg.generated
     */
    private Byte menuLevel;

    /**
     * 菜单父code
     *
     * @mbg.generated
     */
    private String menuPreCode;

    /**
     * 是否隐藏0：不显示，1：是
     *
     * @mbg.generated
     */
    private Byte hidden;

    /**
     * 是否有权限 0 ：否，1：是
     *
     * @mbg.generated
     */
    private Byte isPermission;

    /**
     * 标题
     *
     * @mbg.generated
     */
    private String title;

    /**
     * 菜单图标
     *
     * @mbg.generated
     */
    private String icon;

    /**
     * 路由
     *
     * @mbg.generated
     */
    private String routeUrl;

    /**
     * 菜单url
     *
     * @mbg.generated
     */
    private String url;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private Integer sort;

    /**
     * 是否所属供应商
     *
     * @mbg.generated
     */
    private Byte isBanker;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 接口编码
     *
     * @mbg.generated
     */
    private String apiCode;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getMenuLevel() {
        return menuLevel;
    }

    public void setMenuLevel(Byte menuLevel) {
        this.menuLevel = menuLevel;
    }

    public String getMenuPreCode() {
        return menuPreCode;
    }

    public void setMenuPreCode(String menuPreCode) {
        this.menuPreCode = menuPreCode;
    }

    public Byte getHidden() {
        return hidden;
    }

    public void setHidden(Byte hidden) {
        this.hidden = hidden;
    }

    public Byte getIsPermission() {
        return isPermission;
    }

    public void setIsPermission(Byte isPermission) {
        this.isPermission = isPermission;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getRouteUrl() {
        return routeUrl;
    }

    public void setRouteUrl(String routeUrl) {
        this.routeUrl = routeUrl;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Byte getIsBanker() {
        return isBanker;
    }

    public void setIsBanker(Byte isBanker) {
        this.isBanker = isBanker;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getApiCode() {
        return apiCode;
    }

    public void setApiCode(String apiCode) {
        this.apiCode = apiCode;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", menuCode=").append(menuCode);
        sb.append(", menuName=").append(menuName);
        sb.append(", type=").append(type);
        sb.append(", menuLevel=").append(menuLevel);
        sb.append(", menuPreCode=").append(menuPreCode);
        sb.append(", hidden=").append(hidden);
        sb.append(", isPermission=").append(isPermission);
        sb.append(", title=").append(title);
        sb.append(", icon=").append(icon);
        sb.append(", routeUrl=").append(routeUrl);
        sb.append(", url=").append(url);
        sb.append(", sort=").append(sort);
        sb.append(", isBanker=").append(isBanker);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", apiCode=").append(apiCode);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}